package com.liuyuncen.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

/**
 * @Description svo车型->特征关系
 * @Author xhl
 * @Date 2023/7/11 9:55
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@RelationshipEntity(type = "svo_feature")
public class SvoFeatureRelation {

    @Id
    private Long id;

    @StartNode
    private Eoc startNode;

    @EndNode
    private Feature endNode;

}
